<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
  </head>
  <body>
    <pre id="bugsnag-test-should-run">PENDING</pre>
    <div id="app">
      <p>{{ message }}</p>
      <span>{{ errr() }}</span>
    </div>
    <script>
      var el = document.getElementById('bugsnag-test-should-run')
      var isLetSupported = false
      var hasSafari10Bug = true
      try {
        eval('let a = "foo"')
        isLetSupported = true
        // See https://bugs.webkit.org/show_bug.cgi?id=171041
        eval('let e = e => { console.log(e); for (let e of [1, 2, 3]) console.log(e) }')
        hasSafari10Bug = false
      } catch (e) {}
      el.textContent = el.innerText = isLetSupported && !hasSafari10Bug && typeof Proxy !== 'undefined'
        ? 'YES'
        : 'NO'
    </script>
    <script src="dist/bundle.js"></script>
  </body>
</html>
